import { NormalSelect } from "@/components/common"
import { useLocale, useOptions } from "@/hooks"

const SubBetTypeSelector = (props: any) => {
	const { formatMessage } = useLocale()
	const { betType } = props
	const options = useOptions({ modal: `subBetTypes_${betType || "all"}`, func: formatMessage, strictlyLabel: true })
	return <NormalSelect name="betType" labelId="label.bet.betType" options={options} />
}

export default SubBetTypeSelector
